<style>
	.btn.btn-success {
		background: #6499fa;
	}
</style>
<div class='fui-page fui-page-current'>
    <div class="fui-content">
		<div class="topbg" style="position: relative;width:100%;background: {{main.syscolor || '#7c1cc9'}};height:6rem">
			<div class="fui-cell-title bold" style="padding-top:0.8rem;padding-bottom:0;color:#fff">实名认证</div>
			<div style="padding-left:0.7rem;font-size:0.6rem">
				<p style="color:#f2f2f2">{{pagedata.account.title}}承诺身份信息仅限提现认证使用，</p>
				<p style="color:#f2f2f2">不会向任何人泄露用户个人信息。</p>
				<p style="color:#f2f2f2">请先上传图片，确保上传的照片真实、清晰可辨。</p>
			</div>
		</div>
		<div style="padding:0.5rem;margin-top:-2rem">
		<div class='fui-cell-group'>
			<div class="fui-cell">
                <div class="fui-cell-info" style="padding-right:0.2rem">
					<img style="width:100%" ng-click="up_file(pagedata.item,'cardimg1','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.item.cardimg1) ||'../addons/jy_weishop/resource/images/card01.png'}}" />
				</div>
				<div class="fui-cell-info" style="padding-left:0.2rem">
					<img style="width:100%" ng-click="up_file(pagedata.item,'cardimg2','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.item.cardimg2) ||'../addons/jy_weishop/resource/images/card02.png'}}" />
				</div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-info" style="padding-right:0.2rem">
					<img style="width:100%" ng-click="up_file(pagedata.item,'cardimg3','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.item.cardimg3) ||'../addons/jy_weishop/resource/images/card03.png'}}" />
				</div>
				<div class="fui-cell-info" style="padding-left:0.2rem">
					<img style="width:100%" ng-click="up_file(pagedata.item,'bankimg','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.item.bankimg) ||'../addons/jy_weishop/resource/images/card04.png'}}" />
				</div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">真实姓名</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="请输入真实姓名" ng-model="pagedata.item.realname"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">身份证号码</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="请输入身份证号码" ng-model="pagedata.item.cardnum"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">结算银行卡号</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="请输入银行卡号" ng-model="pagedata.item.bankcard"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">结算银行名称</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="请输入结算银行名称" ng-model="pagedata.item.bankname"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">开户行全称</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="请输入开户行全称" ng-model="pagedata.item.banktitle"/></div>
            </div>
			<div class="fui-cell">
				<div class="fui-cell-label">工作城市</div>		
				<div class="fui-cell-info" style="padding-right:0.2rem">
					<select ng-model="pagedata.item.pcd.province" class="form-control tpl-province">
					<option value="" selected="selected">省份</option>
					<option ng-repeat="(value,data) in pagedata.province" value="{{value}}" ng-selected="pagedata.item.pcd.province==value">{{value}}</option>
					</select>
				</div>
				<div class="fui-cell-info">
					<select ng-model="pagedata.item.pcd.city" class="form-control tpl-city">
					<option value="" selected="selected">城市</option>
					<option ng-repeat="(value,data) in pagedata.province[pagedata.item.pcd.province]" value="{{value}}" ng-selected="pagedata.item.pcd.city==value">{{value}}</option>
					</select>
				</div>
			</div>
			
		</div>
		</div>
		<a href="javascript:;" class='btn btn-success block' style="line-height: 2.6;" ng-click="post(pagedata.item,'jy_weishop/member.bankup/post/')">确认提交</a>
	</div>
</div>
<script>
scope.pagedata.getprovince=function(){
	scope.get('core/member.set/getprovince/',function(res){
		scope.pagedata.province=res.province;
		scope.$evalAsync();
	});
}
scope.pagedata.getprovince();
</script>